import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './assets/gloable.css'
import request from "@/utils/request";
import entity from "@/utils/entity"
import store from "@/store/index"
import "../mock"
// main.js全局注册
import mavonEditor from 'mavon-editor'
import 'mavon-editor/dist/css/index.css'
// use
Vue.use(mavonEditor)
Vue.config.productionTip = false
Vue.use(ElementUI);
Vue.prototype.$e = entity;
Vue.prototype.request = request
new Vue({
    router,
    store,
    entity,
    render: h => h(App)
}).$mount('#app')
if (process.env.NODE_ENV !== 'development') {
    console.log = function () {
    }
    console.error = function () {
    }
}
